<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <META http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
  </head>
  <title>Registo de inmueble</title>
  <body>
    <div align="center">
     <h2>Modificación de inmueble</h2><h1></h1>
     </div>
    <div align="center">
      <s:form action="modifyaHome"  method="post" enctype="multipart/form-data">
        <s:textfield label="ID" name="id" key="id" size="19" readonly="true"></s:textfield>
	    <s:textfield label="Tamaño" name="area" key="area" size="19" ></s:textfield>
	    <s:textfield label="Ciudad" name="cityId" key="city.name" size="19" readonly="true" ></s:textfield>
	    <s:textfield label="Autonomía" name="stateId" key="city.state.name" size="19" readonly="true" ></s:textfield>
	    <s:radio label="Jardin" list="#{'1':'Sí','2':'No'}" name="listGarden"></s:radio>
	    <s:textfield label="Precio" name="cost" key="cost" size="19" ></s:textfield>
	    <s:file name="picture" label="Imagen"/>
	  	<s:textarea name="description" label="descripción"></s:textarea>
	    <s:submit type="button" label="Ejecutar modificación" method="execute" align="right" ></s:submit>
	    <font color="red"> <s:actionerror/> </font>
      </s:form> 
    </div>
   </body>
</html>